package repo

import (
	"context"
	"ucenter/model"
)

type CollectRepo interface {
	//FindProcess(ctx context.Context, userId, TrackId int64) (*model.Collect, error)
	Create(ctx context.Context, pro *model.Collect) (int64, error)
	Update(ctx context.Context, userId, trackId int64) (int64, error)
	FindProcessTo1(ctx context.Context, userId int64, trackId int64) (pro *model.Collect, err error)
	CreateMysql(ctx context.Context, pro *model.UserCollect) (int64, error)
	UpdateMysql(ctx context.Context, userId int64, trackId int64) (int64, error)
	FindCollectMysql(ctx context.Context, userId int64, trackId int64) (int64, error)
}
